package de.fuberlin.inf.alp4.ue2;

/**
 * The Worker Class
 */
public class Servant {

	int result = 0;
	
	/**
	 * calls the method of the current MethodRequest
	 * @param The dequeued MethodRequest Object
	 */
	/*public void get(MethodRequest request) {
		//Work with our MethodRequest
		//System.out.println("Value of request is " + request.getResult());
	}*/

	public int m1(int a) {
		System.out.println("Calculating... Value is " + a);
		return a*a;
	}
}
